//
//  RecordViewController.m
//  BigJoy
//
//  Created by Rowling on 2017/6/27.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import "RecordViewController.h"
#import "RecordCell.h"
@interface RecordViewController ()

@end

@implementation RecordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUI];
}

-(void)setUI {
    self.XMTableview.backgroundColor = defaultBackColor;
    [self.view addSubview:self.XMTableview];
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    RecordCell * cell = [RecordCell cellWithTalbelView:tableView];
    return cell;
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    return 80;
}

@end
